<div class="account-form">
    <?php echo $this->Form->create( "Stage" ); ?>
    <fieldset>
        <div class="form-group"><?php echo $this->Form->input( "name", array(
                "label" => "Nume",
                "class" => "form-control",
				"pattern" => "[a-zA-Z0-9 ]{4,}"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "description", array(
                "label" => "Descriere",
                "class" => "form-control"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "limit_date", array(
                "type" => 'text',
                "label" => "Data limita",
                "class" => "form-control datepicker"
            ) ); ?></div>
        <div class="added_tasks">
            

        </div>
        <div class="add_req_button" onclick="AddTask()">+ Adauga Task</div>
        <?php echo $this->Form->end( array(
            "label" => "Adaugare",
            "class" => "btn"
        ) ); ?>
    </fieldset>
</div>